python using boolean len comparing with

35

my_list = []
if my_list == []:
    print("The list is empty")

Comments

Submit
0 Comments